/*
 * Copyright (c) 2020, 2025, keyila All rights reserved.
 *
 */
package com.clp.study.Test.TwentyOneTOThreeQ;

import java.util.ArrayList;
import java.util.List;

/**
 * @author clp
 * @version 1.0
 */
public class OneA {
    public static void main(String[] args) {
        List list=new ArrayList();
        list.add(1);
        list.add("two");
        for (Object obj:list){
            System.out.println((Integer) obj);
        }
    }
}
